<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Admin Template</title>

    <link href="/movie/Movie_version_1.1/movie/Public/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/movie/Movie_version_1.1/movie/Public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="/movie/Movie_version_1.1/movie/Public/static/admin/css/layout.css" rel="stylesheet">
    <link href="/movie/Movie_version_1.1/movie/Public/static/admin/css/min.css" rel="stylesheet">
    <script src="/movie/Movie_version_1.1/movie/Public/static/jquery/jquery.min.js"></script>

</head>
<body>

<!-- .row必须包含在 .container(固定宽度)或 .container-fluid(100% 宽度)中，以便为其赋予合适的排列(aligment)和内补(padding)-->
<nav class="layout-header">
    <div class="container layout-width">
        <div class="row">
            <div class="col-md-12">

                <div class="pull-left">
                    <a href="" class="logo">
                        <span class="fa fa-desktop"></span> 管理员后台
                    </a>
                </div>

                <div class="top-menu pull-left">
                    <ul>
                        <li>
                            <a href="<?php echo U('Index/index');?>">首页</a>
                        </li>
                        <li>
                            <a class="" href="">影院管理</a>

                            <div class="nav-child-menu">
                                <a href="<?php echo U('Cinema/index');?>">影院列表</a>
                                <a href="<?php echo U('Cinema/create');?>">添加影院</a>
                            </div>
                        </li>
                        <li><a class="" href="">电影管理</a>

                            <div class="nav-child-menu">
                                <a href="<?php echo U('Movie/index');?>">电影列表</a>
                                <a href="<?php echo U('Movie/create');?>">添加电影</a>
                            </div>
                        </li>
                        <li><a class="" href="">广告管理</a>

                            <div class="nav-child-menu">
                                <a href="<?php echo U('Addver/index');?>">广告列表</a>
                                <a href="<?php echo U('Addver/create');?>">添加广告</a>
                            </div>
                        </li>
                    </ul>
                </div>

                <div class="pull-right">
                <span class="account-info">
                    <span>欢迎:<?php echo \Admin\Model\Admin::user()['username']; ?></span>
                    <a class="text-muted">
                        <span class="glyphicon glyphicon-user"><span
                                class="icon-circle my-red-dot"></span></span>
                    </a>
                    <a class="login-out" href="<?php echo U('Default/loginout');?>">退出</a>
                </span>

                </div>

            </div>
        </div>
    </div>
</nav>

<section class="container layout-main layout-width">
    <div class="row">
        <div class="col-md-12 display-table">

            <!--左菜单区域-->

            <!-- 左菜单区域结束-->

            <!--右内容区域-->
            
                <!--content-main start-->
                <div class="container-fluid content-main">
                    <div class="row">
                        <div class="col-md-12">

                            <!--<div class="alert alert-info">
                                <i class="icon-info-sign"></i> 提示信息提示信息提示信息提示信息提示信息提示信息
                            </div>-->

                            <div class="hidden ui-tips bg-info">
                                <span class="icon glyphicon glyphicon-info-sign"></span>
                                <span>提示信息提示信息提示信息提示信息提示信息提示信息。</span>
                            </div>
                            <div class="mt15 pr15">
                                <a href="#" onclick="alert('I LOVE YOU!')" class="btn btn-sm btn-success pull-right"><span
                                        class="glyphicon glyphicon-plus"></span> 欢迎光临</a>

                                <div class="clearfix"></div>
                            </div>

                            <table border="0" class="table table-hover mt15">
                                <thead>
                                <tr>
                                    <th colspan="2">
                             <div class="alert alert-success" role="alert"><p style="text-align:center;font-size:30px">（欢迎来到管理员后台）welcome to admin</p></div>
                                    </th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td style="text-align:center;font-size:23px" colspan="">影院管理</td>
                                    <td style="text-align:center;font-size:20px"><a href="<?php echo U('Cinema/index');?>">进入</a></td>
                                </tr>

                                <tr class="warning">
                                    <td style="text-align:center;font-size:23px" colspan="">电影管理</td>
                                    <td style="text-align:center;font-size:20px"><a href="<?php echo U('Movie/index');?>">进入</a></td>
                                </tr>
                                <!--add by qpf-->
                                <tr>
                                    <td style="text-align:center;font-size:23px" colspan="">广告管理</td>
                                    <td style="text-align:center;font-size:20px"><a href="<?php echo U('Addver/index');?>">进入</a></td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="clearfix"></div>

                        </div>
                    </div>


                    <div style="text-align: center">

                        <div class="ui-small-box small-box-green">
                            <a href="">
                                        <span class="num">
                                            <span class="glyphicon glyphicon-user"></span>
                                            <span><?php echo ($users); ?></span>
                                        </span>

                                <div>商户总数</div>
                            </a>
                        </div>

                        <div class="ui-small-box small-box-blue">
                            <a href="">
                                        <span class="num">
                                            <span class="glyphicon glyphicon-thumbs-up"></span>
                                            <span><?php echo ($users); ?></span>
                                        </span>

                                <div>电影院总数</div>
                            </a>
                        </div>

                        <div class="ui-small-box small-box-yellow">
                            <a href="">
                                        <span class="num">
                                            <span class="glyphicon glyphicon-hdd"></span>
                                            <span><?php echo ($movies); ?></span>
                                        </span>

                                <div>电影总数</div>
                            </a>
                        </div>

                    </div>

                </div>
                <!--content-main end-->

            </div>
            
            <!--右内容区域结束-->

            <div class="clearfix"></div>
        </div>
    </div>
</section>

<footer class="layout-footer">
    <div style="margin-top:30px" class="container layout-width">
        <div class="row">
            <div class="col-md-12">
                <ul class="links">
                    <li><a href="" target="_blank">关于我们</a></li>
                    <li><a href="" target="_blank">服务协议</a></li>
                    <li><a href="" target="_blank">运营规范</a></li>
                    <li><a href="" target="_blank">客服中心</a></li>
                    <li><a href="" target="_blank">在线客服</a></li>
                    <li><p class="copyright">Copyright.All Rights Reserved.</p></li>
                </ul>
            </div>
        </div>
    </div>
</footer>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="/movie/Movie_version_1.1/movie/Public/static/ie8/html5shiv.min.js"></script>
<script src="/movie/Movie_version_1.1/movie/Public/static/ie8/respond.min.js"></script>
<![endif]-->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/movie/Movie_version_1.1/movie/Public/static/bootstrap/js/bootstrap.min.js"></script>

</body>
</html>